package reflect;

public class Reflect {
    private String[] names;
    private String[] methods;
    private String[] constructors;
    String privateName;

    public Reflect(){}

    public Reflect(String[] names){
        this.names = names;
    }

    public Reflect(String[] names,String[] methods) {
        this.names = names;
        this.methods = methods;
    }

    private Reflect(String[] names,String[] methods,String[] constructors){
        this.names = names;
        this.methods = methods;
        this.constructors = constructors;
    }

    public String[] getNames() {
        return names;
    }

    public void setNames(String[] names) {
        this.names = names;
    }

    public String[] getMethods() {
        return methods;
    }

    public void setMethods(String[] methods) {
        this.methods = methods;
    }

    public String[] getConstructors() {
        return constructors;
    }

    public void setConstructors(String[] constructors) {
        this.constructors = constructors;
    }

    public void sleep(){
        System.out.println("sleep!");
    }
}
